# -*- coding: UTF-8 -*-
'''
@author: TangRen
@time: 2021/3/19
@file: UserSerializers.py
@desc: 

'''
from visitApi.models import User
from rest_framework import serializers


class UserSerializers(serializers.ModelSerializer):
    class Meta:
        model = User
        exclude = ('password',)


class SaveUserSerializers(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'
